import http from '@/service/http'
import type * as T from '@/types/api/index'
const tagApi: T.IRoleApi = {
  allList() {
    return http.post('/admin/PhotoTag/allList')
  },
  list(data) {
    return http.post('/admin/PhotoTag/list', data)
  },
  add(data) {
    return http.post('/admin/PhotoTag/add', data)
  },
  edit(data) {
    return http.post('/admin/PhotoTag/edit', data)
  },
  dels(data) {
    return http.post('/admin/PhotoTag/dels', data)
  },
  changeList(data) {
    return http.post('/admin/PhotoTagUser/list', data)
  }
}

export default tagApi
